class Vr {
  String? staffName;
  DateTime? startTT;
  String? curriculum;
  String? fractlonName;
  int? fractlon;

  Vr(
      {this.staffName,
      this.startTT,
      this.curriculum,
      this.fractlonName,
      this.fractlon});

  Vr.fromJson(Map<String, dynamic> json) {
    staffName = json['staffName'];
    startTT =
        json['startTT'] != null ? DateTime.tryParse(json['startTT']) : null;
    curriculum = json['curriculum'];
    fractlonName = json['fractlonName'];
    fractlon = json['fractlon'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['staffName'] = this.staffName;
    data['startTT'] = this.startTT;
    data['curriculum'] = this.curriculum;
    data['fractlonName'] = this.fractlonName;
    data['fractlon'] = this.fractlon;
    return data;
  }
}
